<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
	pageEncoding="ISO-8859-1"%>

<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>
<%@ taglib uri="http://www.springframework.org/tags/form" prefix="form" %>
<%@ include file="../general/header.jsp" %>
	<div id="header">Buyer Confirmation</div>
	<%@ include file="../general/menu.jsp" %>
	<div id="left">
		<form:form method="POST" action="../purchase/confirmItemBuyer" commandName="confirmationForm">

			<input type="hidden" id="id" name="purchaseId" value="${purchase.id}" >
			<span>Confirmation: </span>
			<form:select path="confirmation" id="confirmation" name="confirmation">
				<form:option value="notyetconfirm" label="Not yet confirmed"/>
				<form:option value="realize" label="Realized" />
				<form:option value="dontrealize" label="Not realized" />
			</form:select>
			<form:errors path="confirmation" />
			<br />
			<div id="calificationlbl">
				<span>Calificaton:</span>
				<form:select path="calification" id="calification" name="calification">
					<form:option value="neutral" label="Neutral"/>
					<form:option value="negative" label="Negative" />
					<form:option value="positive" label="Positive" />
				</form:select>
				<form:errors path="calification" />
				<br />
				<span>Comment: </span>
				<form:input  path="comment" name="comment"/><br />
				<form:errors path="comment" />
				<br />
			</div>
			<input type="submit" value="Confirm !" />
		</form:form>
	</div>
<div style="clear:both;"></div>
<div id="bottom">
	<a href="../general/index">Go Back to Index</a>
</div>
<script type="text/javascript">
	hideCalification();
</script>
<%@ include file="../general/footer.jsp" %>
